<html lang="zh-CN">
 <head>
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width,user-scalable=no,initial-scale=1,maximum-scale=1,minimum-scale=1" />
  <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" />
  <meta http-equiv="Cache-Control" content="no-siteapp" />
  <meta http-equiv="Cache-Control" content="no-transform" />
  <meta name="verify" content="all" />
  <title>{$basic.title}</title>
  <link rel="icon" href="/favicon.ico" />
  <link rel="stylesheet" href="__UI__/css/bootstrap.min.css" />
  <link rel="stylesheet" href="__UI__/css/font-awesome.min.css" />
  <link rel="stylesheet" href="__UI__/css/style.css" />
 </head>
 <body>
  <header class="main-header" style="">
   <div class="main-header-box">
	   {volist name="bar_bg" id="voo"}
     <img src="{$voo.image|raw}" class="img-responsive center-block" />
	  {/volist}
    </div>
   </div>
  </header>
  <nav class="main-navigation">
   <div class="container">
    <div class="row">
     <div class="col-sm-12">
      <div class="navbar-header">
       <span class="nav-toggle-button collapsed pull-right" data-toggle="collapse" data-target="#main-menu" id="mnav"><span class="sr-only"></span><i class="fa fa-bars"></i></span> 
       <a class="navbar-brand" href="#">{$basic.title}</a>
      </div>
      <div class="collapse navbar-collapse" id="main-menu">
       <ul class="menu">
		   {volist name="menu" id="vo"}
        <li role="presentation" class="text-center"><a href="{$vo.url}"><i class="fa"></i>{$vo.name}</a></li>
			{/volist}
       </ul>
      </div>
     </div>
    </div>
   </div>
  </nav>
  <section class="content-wrap">
   <div class="container">
    <div class="row">
     <main class="col-md-8 main-content">
		   {if $advert}
      <div class="carousel">
       <a href="{$advert.url}" target="_blank"><!--advert-->
		 {$advert.ext|raw}</a>
      </div>
	  {/if}
	<article class="post">
			{if $article.data}
		  {volist name="article.data" id="vo"}
		  {if $vo.thumb}
		   <div class="post-media">
			<a href="{$vo.url}">
				<img class="img-ajax" src="{$vo.thumb}" alt="{$vo.title}" style="display: block;" /></a>
		   </div>
		   {/if}
	   <div class="post-content">
	    <div class="post-head home-post-head">
	     <h1 class="post-title"><a href="{$vo.url}">{$vo.title}</a></h1>
	     <div class="post-meta">
	      <p class="post-date" >{$vo.create_time},作者:{$vo.author}</p>
	     </div>
	    </div>
	    <p class="brief">{$vo.text|}</p>
	   </div>
	   <footer class="post-footer clearfix">
	    <div class="pull-left tag-list">
	     <div class="post-meta">
				<span class="categories-meta fa-wrap">
				  <i class="fa fa-tags"></i>
				  {volist name="vo.tag" id="voo"}
				  <a class="category-link" href="{$voo.url}">{$voo.name}</a>
				  {/volist}
				 </span>
			</div>
	    </div>
	    <div class="post-permalink">
	     <a href="{$vo.url}" class="btn btn-default">阅读全文</a>
	    </div>
	   </footer>
	   	{/volist}
		{else}
			啥也没有哦!
		{/if}
	  </article>
		{$article.page|raw}
		</main>
	<aside class="col-md-4 sidebar">
      <div class="widget">
       <h3 class="title">搜索</h3>
       <div id="search-form">
        <div id="result-mask" class="hide" style="width: 1440px; height: 757px;"></div>
        <div class="search-area">
         <input id="search-key" type="search" autocomplete="off" placeholder="搜点什么呢？" /> 
         <button type="button" class="search-form-submit" id="search-local">站内搜索</button>
        </div>
       </div>
      </div>
      <div class="widget">
       <h3 class="title">网站公告</h3>
       <div class="notification">
			{$basic.notice|raw}
       </div>
      </div>
      <div class="widget">
       <h3 class="title">分类</h3>
       <ul class="category-list">
		   {volist name="cate" id="vo"}
		   {if $vo.parentId == 0}
        <li class="category-list-item">
			<a class="category-list-link" href="{$vo.url}">
				<i class="fa" aria-hidden="true">{$vo.name}</i></a>
				</li>
				{/if}
				{/volist}
       </ul>
      </div>
      <div class="widget">
       <h3 class="title">标签云</h3>
       <div class="content tag-cloud">
		   {volist name="tag" id="vo"}
		   {if $vo.parentId > 0}
        <a href="{$vo.url}" style="font-size:10px">{$vo.name}</a> 
		{/if}
		{/volist}
       </div>
      </div>
      <div class="widget">
       <h3 class="title">友链</h3>
	  <div class="content friends-link">
		   {volist name="links" id="vo"}
        <a href="{$vo.url}" class="fa" target="_blank">{$vo.name}</a>
		 {/volist}
       </div>
     </div>
     </aside>
    </div>
   </div>
  </section>
  <footer class="main-footer">
   <div class="container">
    <div class="row"></div>
   </div>
  </footer>
  <a id="back-to-top"><i class="fa fa-chevron-up"></i></a>
  <div class="copyright">
   <div class="container">
    <div class="row">
     <div class="col-sm-12">
      <div class="busuanzi"></div>
     </div>
     <div class="col-sm-12">
      <span>Copyright &copy; 2020 {$basic.title}</span> | 
	</div>
    </div>
   </div>
  </div>
  <script src="__UI__/js/search.js"></script>
  <script src="__UI__/js/app.js"></script>
 </body>
</html>
